; Disassembly of the file "Z:\home\knoppix\CoBra Project\Software\CPM\CPM CHRIS_INST analysis\BDOS.bin"
; 
; CPU Type: Z80
; 
; Using the opcode map file "Z:\home\knoppix\CoBra Project\Software\CPM\CPM CHRIS_INST analysis\BDOS.bin.opmap"
; ; Created with dZ80 2.0
; 
; on Friday, 27 of January 2017 at 12:00 PM
; 
E800 F9		DEFB	$F9
E801 16		DEFB	$16
E802 00		DEFB	$00
E803 00		DEFB	$00
E804 00		DEFB	$00
E805 1A		DEFB	$1A

E806 C311E8	JP	$E811

E809 99		DEFB	$99
E80A E8		DEFB	$E8
E80B A5		DEFB	$A5
E80C E8		DEFB	$E8
E80D AB		DEFB	$AB
E80E E8		DEFB	$E8
E80F B1		DEFB	$B1
E810 E8		DEFB	$E8

E811 EB		EX	DE,HL
E812 2243EB	LD	($EB43),HL
E815 EB		EX	DE,HL
E816 7B		LD	A,E
E817 32D6F5	LD	($F5D6),A
E81A 210000	LD	HL,$0000
E81D 2245EB	LD	($EB45),HL
E820 39		ADD	HL,SP
E821 220FEB	LD	($EB0F),HL
E824 3141EB	LD	SP,$EB41
E827 AF		XOR	A
E828 32E0F5	LD	($F5E0),A
E82B 32DEF5	LD	($F5DE),A
E82E 2174F5	LD	HL,$F574
E831 E5		PUSH	HL
E832 79		LD	A,C
E833 FE29	CP	$29
E835 D0		RET	NC

E836 4B		LD	C,E
E837 2147E8	LD	HL,$E847
E83A 5F		LD	E,A
E83B 1600	LD	D,$00
E83D 19		ADD	HL,DE
E83E 19		ADD	HL,DE
E83F 5E		LD	E,(HL)
E840 23		INC	HL
E841 56		LD	D,(HL)
E842 2A43EB	LD	HL,($EB43)
E845 EB		EX	DE,HL
E846 E9		JP	(HL)

E847 03		DEFB	$03
E848 F6		DEFB	$F6
E849 C8		DEFB	$C8
E84A EA		DEFB	$EA
E84B 90		DEFB	$90
E84C E9		DEFB	$E9
E84D CE		DEFB	$CE
E84E EA		DEFB	$EA
E84F 12		DEFB	$12
E850 F6		DEFB	$F6
E851 0F		DEFB	$0F
E852 F6		DEFB	$F6
E853 D4		DEFB	$D4
E854 EA		DEFB	$EA
E855 ED		DEFB	$ED
E856 EA		DEFB	$EA
E857 F3		DEFB	$F3
E858 EA		DEFB	$EA
E859 F8		DEFB	$F8
E85A EA		DEFB	$EA
E85B E1		DEFB	$E1
E85C E9		DEFB	$E9
E85D FE		DEFB	$FE
E85E EA		DEFB	$EA
E85F 7E		DEFB	$7E
E860 F4		DEFB	$F4
E861 83		DEFB	$83
E862 F4		DEFB	$F4
E863 45		DEFB	$45
E864 F4		DEFB	$F4
E865 9C		DEFB	$9C
E866 F4		DEFB	$F4
E867 A5		DEFB	$A5
E868 F4		DEFB	$F4
E869 AB		DEFB	$AB
E86A F4		DEFB	$F4
E86B C8		DEFB	$C8
E86C F4		DEFB	$F4
E86D D7		DEFB	$D7
E86E F4		DEFB	$F4
E86F E0		DEFB	$E0
E870 F4		DEFB	$F4
E871 E6		DEFB	$E6
E872 F4		DEFB	$F4
E873 EC		DEFB	$EC
E874 F4		DEFB	$F4
E875 F5		DEFB	$F5
E876 F4		DEFB	$F4
E877 FE		DEFB	$FE
E878 F4		DEFB	$F4
E879 04		DEFB	$04
E87A F5		DEFB	$F5
E87B 0A		DEFB	$0A
E87C F5		DEFB	$F5
E87D 11		DEFB	$11
E87E F5		DEFB	$F5
E87F 2C		DEFB	$2C
E880 ED		DEFB	$ED
E881 17		DEFB	$17
E882 F5		DEFB	$F5
E883 1D		DEFB	$1D
E884 F5		DEFB	$F5
E885 26		DEFB	$26
E886 F5		DEFB	$F5
E887 2D		DEFB	$2D
E888 F5		DEFB	$F5
E889 41		DEFB	$41
E88A F5		DEFB	$F5
E88B 47		DEFB	$47
E88C F5		DEFB	$F5
E88D 4D		DEFB	$4D
E88E F5		DEFB	$F5
E88F 0E		DEFB	$0E
E890 F4		DEFB	$F4
E891 53		DEFB	$53
E892 F5		DEFB	$F5
E893 04		DEFB	$04
E894 EB		DEFB	$EB
E895 04		DEFB	$04
E896 EB		DEFB	$EB
E897 9B		DEFB	$9B
E898 F5		DEFB	$F5

E899 21CAE8	LD	HL,$E8CA
E89C CDE5E8	CALL	$E8E5
E89F FE03	CP	$03
E8A1 CA0000	JP	Z,$0000
E8A4 C9		RET	

E8A5 21D5E8	LD	HL,$E8D5
E8A8 C3B4E8	JP	$E8B4
E8AB 21E1E8	LD	HL,$E8E1
E8AE C3B4E8	JP	$E8B4
E8B1 21DCE8	LD	HL,$E8DC
E8B4 CDE5E8	CALL	$E8E5
E8B7 C30000	JP	$0000

E8BA 42		DEFB	$42
E8BB 44		DEFB	$44
E8BC 4F		DEFB	$4F
E8BD 53		DEFB	$53
E8BE 20		DEFB	$20
E8BF 45		DEFB	$45
E8C0 52		DEFB	$52
E8C1 52		DEFB	$52
E8C2 20		DEFB	$20
E8C3 4F		DEFB	$4F
E8C4 4E		DEFB	$4E
E8C5 20		DEFB	$20
E8C6 20		DEFB	$20
E8C7 3A		DEFB	$3A
E8C8 20		DEFB	$20
E8C9 24		DEFB	$24
E8CA 42		DEFB	$42
E8CB 41		DEFB	$41
E8CC 44		DEFB	$44
E8CD 20		DEFB	$20
E8CE 53		DEFB	$53
E8CF 45		DEFB	$45
E8D0 43		DEFB	$43
E8D1 54		DEFB	$54
E8D2 4F		DEFB	$4F
E8D3 52		DEFB	$52
E8D4 24		DEFB	$24
E8D5 53		DEFB	$53
E8D6 45		DEFB	$45
E8D7 4C		DEFB	$4C
E8D8 45		DEFB	$45
E8D9 43		DEFB	$43
E8DA 54		DEFB	$54
E8DB 24		DEFB	$24
E8DC 46		DEFB	$46
E8DD 49		DEFB	$49
E8DE 4C		DEFB	$4C
E8DF 45		DEFB	$45
E8E0 20		DEFB	$20
E8E1 52		DEFB	$52
E8E2 2F		DEFB	$2F
E8E3 4F		DEFB	$4F
E8E4 24		DEFB	$24

E8E5 E5		PUSH	HL
E8E6 CDC9E9	CALL	$E9C9
E8E9 3A42EB	LD	A,($EB42)
E8EC C641	ADD	A,$41
E8EE 32C6E8	LD	($E8C6),A
E8F1 01BAE8	LD	BC,$E8BA
E8F4 CDD3E9	CALL	$E9D3
E8F7 C1		POP	BC
E8F8 CDD3E9	CALL	$E9D3
E8FB 210EEB	LD	HL,$EB0E
E8FE 7E		LD	A,(HL)
E8FF 3600	LD	(HL),$00
E901 B7		OR	A
E902 C0		RET	NZ

E903 C309F6	JP	$F609
E906 CDFBE8	CALL	$E8FB
E909 CD14E9	CALL	$E914
E90C D8		RET	C

E90D F5		PUSH	AF
E90E 4F		LD	C,A
E90F CD90E9	CALL	$E990
E912 F1		POP	AF
E913 C9		RET	

E914 FE0D	CP	$0D
E916 C8		RET	Z

E917 FE0A	CP	$0A
E919 C8		RET	Z

E91A FE09	CP	$09
E91C C8		RET	Z

E91D FE08	CP	$08
E91F C8		RET	Z

E920 FE20	CP	$20
E922 C9		RET	

E923 3A0EEB	LD	A,($EB0E)
E926 B7		OR	A
E927 C245E9	JP	NZ,$E945
E92A CD06F6	CALL	$F606
E92D E601	AND	$01
E92F C8		RET	Z

E930 CD09F6	CALL	$F609
E933 FE13	CP	$13
E935 C242E9	JP	NZ,$E942
E938 CD09F6	CALL	$F609
E93B FE03	CP	$03
E93D CA0000	JP	Z,$0000
E940 AF		XOR	A
E941 C9		RET	

E942 320EEB	LD	($EB0E),A
E945 3E01	LD	A,$01
E947 C9		RET	

E948 3A0AEB	LD	A,($EB0A)
E94B B7		OR	A
E94C C262E9	JP	NZ,$E962
E94F C5		PUSH	BC
E950 CD23E9	CALL	$E923
E953 C1		POP	BC
E954 C5		PUSH	BC
E955 CD0CF6	CALL	$F60C
E958 C1		POP	BC
E959 C5		PUSH	BC
E95A 3A0DEB	LD	A,($EB0D)
E95D B7		OR	A
E95E C40FF6	CALL	NZ,$F60F
E961 C1		POP	BC
E962 79		LD	A,C
E963 210CEB	LD	HL,$EB0C
E966 FE7F	CP	$7F
E968 C8		RET	Z

E969 34		INC	(HL)
E96A FE20	CP	$20
E96C D0		RET	NC

E96D 35		DEC	(HL)
E96E 7E		LD	A,(HL)
E96F B7		OR	A
E970 C8		RET	Z

E971 79		LD	A,C
E972 FE08	CP	$08
E974 C279E9	JP	NZ,$E979
E977 35		DEC	(HL)
E978 C9		RET	

E979 FE0A	CP	$0A
E97B C0		RET	NZ

E97C 3600	LD	(HL),$00
E97E C9		RET	

E97F 79		LD	A,C
E980 CD14E9	CALL	$E914
E983 D290E9	JP	NC,$E990
E986 F5		PUSH	AF
E987 0E5E	LD	C,$5E
E989 CD48E9	CALL	$E948
E98C F1		POP	AF
E98D F640	OR	$40
E98F 4F		LD	C,A
E990 79		LD	A,C
E991 FE09	CP	$09
E993 C248E9	JP	NZ,$E948
E996 0E20	LD	C,$20
E998 CD48E9	CALL	$E948
E99B 3A0CEB	LD	A,($EB0C)
E99E E607	AND	$07
E9A0 C296E9	JP	NZ,$E996
E9A3 C9		RET	

E9A4 CDACE9	CALL	$E9AC
E9A7 0E20	LD	C,$20
E9A9 CD0CF6	CALL	$F60C
E9AC 0E08	LD	C,$08
E9AE C30CF6	JP	$F60C
E9B1 0E23	LD	C,$23
E9B3 CD48E9	CALL	$E948
E9B6 CDC9E9	CALL	$E9C9
E9B9 3A0CEB	LD	A,($EB0C)
E9BC 210BEB	LD	HL,$EB0B
E9BF BE		CP	(HL)
E9C0 D0		RET	NC

E9C1 0E20	LD	C,$20
E9C3 CD48E9	CALL	$E948
E9C6 C3B9E9	JP	$E9B9
E9C9 0E0D	LD	C,$0D
E9CB CD48E9	CALL	$E948
E9CE 0E0A	LD	C,$0A
E9D0 C348E9	JP	$E948
E9D3 0A		LD	A,(BC)
E9D4 FE24	CP	$24
E9D6 C8		RET	Z

E9D7 03		INC	BC
E9D8 C5		PUSH	BC
E9D9 4F		LD	C,A
E9DA CD90E9	CALL	$E990
E9DD C1		POP	BC
E9DE C3D3E9	JP	$E9D3
E9E1 3A0CEB	LD	A,($EB0C)
E9E4 320BEB	LD	($EB0B),A
E9E7 2A43EB	LD	HL,($EB43)
E9EA 4E		LD	C,(HL)
E9EB 23		INC	HL
E9EC E5		PUSH	HL
E9ED 0600	LD	B,$00
E9EF C5		PUSH	BC
E9F0 E5		PUSH	HL
E9F1 CDFBE8	CALL	$E8FB
E9F4 E67F	AND	$7F
E9F6 E1		POP	HL
E9F7 C1		POP	BC
E9F8 FE0D	CP	$0D
E9FA CAC1EA	JP	Z,$EAC1
E9FD FE0A	CP	$0A
E9FF CAC1EA	JP	Z,$EAC1
EA02 FE08	CP	$08
EA04 C216EA	JP	NZ,$EA16
EA07 78		LD	A,B
EA08 B7		OR	A
EA09 CAEFE9	JP	Z,$E9EF
EA0C 05		DEC	B
EA0D 3A0CEB	LD	A,($EB0C)
EA10 320AEB	LD	($EB0A),A
EA13 C370EA	JP	$EA70
EA16 FE7F	CP	$7F
EA18 C226EA	JP	NZ,$EA26
EA1B 78		LD	A,B
EA1C B7		OR	A
EA1D CAEFE9	JP	Z,$E9EF
EA20 7E		LD	A,(HL)
EA21 05		DEC	B
EA22 2B		DEC	HL
EA23 C3A9EA	JP	$EAA9
EA26 FE05	CP	$05
EA28 C237EA	JP	NZ,$EA37
EA2B C5		PUSH	BC
EA2C E5		PUSH	HL
EA2D CDC9E9	CALL	$E9C9
EA30 AF		XOR	A
EA31 320BEB	LD	($EB0B),A
EA34 C3F1E9	JP	$E9F1
EA37 FE10	CP	$10
EA39 C248EA	JP	NZ,$EA48
EA3C E5		PUSH	HL
EA3D 210DEB	LD	HL,$EB0D
EA40 3E01	LD	A,$01
EA42 96		SUB	(HL)
EA43 77		LD	(HL),A
EA44 E1		POP	HL
EA45 C3EFE9	JP	$E9EF
EA48 FE18	CP	$18
EA4A C25FEA	JP	NZ,$EA5F
EA4D E1		POP	HL
EA4E 3A0BEB	LD	A,($EB0B)
EA51 210CEB	LD	HL,$EB0C
EA54 BE		CP	(HL)
EA55 D2E1E9	JP	NC,$E9E1
EA58 35		DEC	(HL)
EA59 CDA4E9	CALL	$E9A4
EA5C C34EEA	JP	$EA4E
EA5F FE15	CP	$15
EA61 C26BEA	JP	NZ,$EA6B
EA64 CDB1E9	CALL	$E9B1
EA67 E1		POP	HL
EA68 C3E1E9	JP	$E9E1
EA6B FE12	CP	$12
EA6D C2A6EA	JP	NZ,$EAA6
EA70 C5		PUSH	BC
EA71 CDB1E9	CALL	$E9B1
EA74 C1		POP	BC
EA75 E1		POP	HL
EA76 E5		PUSH	HL
EA77 C5		PUSH	BC
EA78 78		LD	A,B
EA79 B7		OR	A
EA7A CA8AEA	JP	Z,$EA8A
EA7D 23		INC	HL
EA7E 4E		LD	C,(HL)
EA7F 05		DEC	B
EA80 C5		PUSH	BC
EA81 E5		PUSH	HL
EA82 CD7FE9	CALL	$E97F
EA85 E1		POP	HL
EA86 C1		POP	BC
EA87 C378EA	JP	$EA78
EA8A E5		PUSH	HL
EA8B 3A0AEB	LD	A,($EB0A)
EA8E B7		OR	A
EA8F CAF1E9	JP	Z,$E9F1
EA92 210CEB	LD	HL,$EB0C
EA95 96		SUB	(HL)
EA96 320AEB	LD	($EB0A),A
EA99 CDA4E9	CALL	$E9A4
EA9C 210AEB	LD	HL,$EB0A
EA9F 35		DEC	(HL)
EAA0 C299EA	JP	NZ,$EA99
EAA3 C3F1E9	JP	$E9F1
EAA6 23		INC	HL
EAA7 77		LD	(HL),A
EAA8 04		INC	B
EAA9 C5		PUSH	BC
EAAA E5		PUSH	HL
EAAB 4F		LD	C,A
EAAC CD7FE9	CALL	$E97F
EAAF E1		POP	HL
EAB0 C1		POP	BC
EAB1 7E		LD	A,(HL)
EAB2 FE03	CP	$03
EAB4 78		LD	A,B
EAB5 C2BDEA	JP	NZ,$EABD
EAB8 FE01	CP	$01
EABA CA0000	JP	Z,$0000
EABD B9		CP	C
EABE DAEFE9	JP	C,$E9EF
EAC1 E1		POP	HL
EAC2 70		LD	(HL),B
EAC3 0E0D	LD	C,$0D
EAC5 C348E9	JP	$E948
EAC8 CD06E9	CALL	$E906
EACB C301EB	JP	$EB01
EACE CD15F6	CALL	$F615
EAD1 C301EB	JP	$EB01
EAD4 79		LD	A,C
EAD5 3C		INC	A
EAD6 CAE0EA	JP	Z,$EAE0
EAD9 3C		INC	A
EADA CA06F6	JP	Z,$F606
EADD C30CF6	JP	$F60C
EAE0 CD06F6	CALL	$F606
EAE3 B7		OR	A
EAE4 CA91F5	JP	Z,$F591
EAE7 CD09F6	CALL	$F609
EAEA C301EB	JP	$EB01
EAED 3A0300	LD	A,($0003)
EAF0 C301EB	JP	$EB01
EAF3 210300	LD	HL,$0003
EAF6 71		LD	(HL),C
EAF7 C9		RET	

EAF8 EB		EX	DE,HL
EAF9 4D		LD	C,L
EAFA 44		LD	B,H
EAFB C3D3E9	JP	$E9D3
EAFE CD23E9	CALL	$E923
EB01 3245EB	LD	($EB45),A
EB04 C9		RET	

EB05 3E01	LD	A,$01
EB07 C301EB	JP	$EB01

EB0A 00		DEFB	$00
EB0B 00		DEFB	$00
EB0C 00		DEFB	$00
EB0D 00		DEFB	$00
EB0E 00		DEFB	$00
EB0F 00		DEFB	$00
EB10 00		DEFB	$00
EB11 00		DEFB	$00
EB12 00		DEFB	$00
EB13 00		DEFB	$00
EB14 00		DEFB	$00
EB15 00		DEFB	$00
EB16 00		DEFB	$00
EB17 00		DEFB	$00
EB18 00		DEFB	$00
EB19 00		DEFB	$00
EB1A 00		DEFB	$00
EB1B 00		DEFB	$00
EB1C 00		DEFB	$00
EB1D 00		DEFB	$00
EB1E 00		DEFB	$00
EB1F 00		DEFB	$00
EB20 00		DEFB	$00
EB21 00		DEFB	$00
EB22 00		DEFB	$00
EB23 00		DEFB	$00
EB24 00		DEFB	$00
EB25 00		DEFB	$00
EB26 00		DEFB	$00
EB27 00		DEFB	$00
EB28 00		DEFB	$00
EB29 00		DEFB	$00
EB2A 00		DEFB	$00
EB2B 00		DEFB	$00
EB2C 00		DEFB	$00
EB2D 00		DEFB	$00
EB2E 00		DEFB	$00
EB2F 00		DEFB	$00
EB30 00		DEFB	$00
EB31 00		DEFB	$00
EB32 00		DEFB	$00
EB33 00		DEFB	$00
EB34 00		DEFB	$00
EB35 00		DEFB	$00
EB36 00		DEFB	$00
EB37 00		DEFB	$00
EB38 00		DEFB	$00
EB39 00		DEFB	$00
EB3A 00		DEFB	$00
EB3B 00		DEFB	$00
EB3C 00		DEFB	$00
EB3D 00		DEFB	$00
EB3E 00		DEFB	$00
EB3F 00		DEFB	$00
EB40 00		DEFB	$00
EB41 00		DEFB	$00
EB42 00		DEFB	$00
EB43 00		DEFB	$00
EB44 00		DEFB	$00
EB45 00		DEFB	$00
EB46 00		DEFB	$00

EB47 210BE8	LD	HL,$E80B
EB4A 5E		LD	E,(HL)
EB4B 23		INC	HL
EB4C 56		LD	D,(HL)
EB4D EB		EX	DE,HL
EB4E E9		JP	(HL)
EB4F 0C		INC	C
EB50 0D		DEC	C
EB51 C8		RET	Z

EB52 1A		LD	A,(DE)
EB53 77		LD	(HL),A
EB54 13		INC	DE
EB55 23		INC	HL
EB56 C350EB	JP	$EB50
EB59 3A42EB	LD	A,($EB42)
EB5C 4F		LD	C,A
EB5D CD1BF6	CALL	$F61B
EB60 7C		LD	A,H
EB61 B5		OR	L
EB62 C8		RET	Z

EB63 5E		LD	E,(HL)
EB64 23		INC	HL
EB65 56		LD	D,(HL)
EB66 23		INC	HL
EB67 22B3F5	LD	($F5B3),HL
EB6A 23		INC	HL
EB6B 23		INC	HL
EB6C 22B5F5	LD	($F5B5),HL
EB6F 23		INC	HL
EB70 23		INC	HL
EB71 22B7F5	LD	($F5B7),HL
EB74 23		INC	HL
EB75 23		INC	HL
EB76 EB		EX	DE,HL
EB77 22D0F5	LD	($F5D0),HL
EB7A 21B9F5	LD	HL,$F5B9
EB7D 0E08	LD	C,$08
EB7F CD4FEB	CALL	$EB4F
EB82 2ABBF5	LD	HL,($F5BB)
EB85 EB		EX	DE,HL
EB86 21C1F5	LD	HL,$F5C1
EB89 0E0F	LD	C,$0F
EB8B CD4FEB	CALL	$EB4F
EB8E 2AC6F5	LD	HL,($F5C6)
EB91 7C		LD	A,H
EB92 21DDF5	LD	HL,$F5DD
EB95 36FF	LD	(HL),$FF
EB97 B7		OR	A
EB98 CA9DEB	JP	Z,$EB9D
EB9B 3600	LD	(HL),$00
EB9D 3EFF	LD	A,$FF
EB9F B7		OR	A
EBA0 C9		RET	

EBA1 CD18F6	CALL	$F618
EBA4 AF		XOR	A
EBA5 2AB5F5	LD	HL,($F5B5)
EBA8 77		LD	(HL),A
EBA9 23		INC	HL
EBAA 77		LD	(HL),A
EBAB 2AB7F5	LD	HL,($F5B7)
EBAE 77		LD	(HL),A
EBAF 23		INC	HL
EBB0 77		LD	(HL),A
EBB1 C9		RET	

EBB2 CD27F6	CALL	$F627
EBB5 C3BBEB	JP	$EBBB
EBB8 CD2AF6	CALL	$F62A
EBBB B7		OR	A
EBBC C8		RET	Z

EBBD 2109E8	LD	HL,$E809
EBC0 C34AEB	JP	$EB4A
EBC3 2AEAF5	LD	HL,($F5EA)
EBC6 0E02	LD	C,$02
EBC8 CDEAEC	CALL	$ECEA
EBCB 22E5F5	LD	($F5E5),HL
EBCE 22ECF5	LD	($F5EC),HL
EBD1 21E5F5	LD	HL,$F5E5
EBD4 4E		LD	C,(HL)
EBD5 23		INC	HL
EBD6 46		LD	B,(HL)
EBD7 2AB7F5	LD	HL,($F5B7)
EBDA 5E		LD	E,(HL)
EBDB 23		INC	HL
EBDC 56		LD	D,(HL)
EBDD 2AB5F5	LD	HL,($F5B5)
EBE0 7E		LD	A,(HL)
EBE1 23		INC	HL
EBE2 66		LD	H,(HL)
EBE3 6F		LD	L,A
EBE4 79		LD	A,C
EBE5 93		SUB	E
EBE6 78		LD	A,B
EBE7 9A		SBC	A,D
EBE8 D2FAEB	JP	NC,$EBFA
EBEB E5		PUSH	HL
EBEC 2AC1F5	LD	HL,($F5C1)
EBEF 7B		LD	A,E
EBF0 95		SUB	L
EBF1 5F		LD	E,A
EBF2 7A		LD	A,D
EBF3 9C		SBC	A,H
EBF4 57		LD	D,A
EBF5 E1		POP	HL
EBF6 2B		DEC	HL
EBF7 C3E4EB	JP	$EBE4
EBFA E5		PUSH	HL
EBFB 2AC1F5	LD	HL,($F5C1)
EBFE 19		ADD	HL,DE
EBFF DA0FEC	JP	C,$EC0F
EC02 79		LD	A,C
EC03 95		SUB	L
EC04 78		LD	A,B
EC05 9C		SBC	A,H
EC06 DA0FEC	JP	C,$EC0F
EC09 EB		EX	DE,HL
EC0A E1		POP	HL
EC0B 23		INC	HL
EC0C C3FAEB	JP	$EBFA
EC0F E1		POP	HL
EC10 C5		PUSH	BC
EC11 D5		PUSH	DE
EC12 E5		PUSH	HL
EC13 EB		EX	DE,HL
EC14 2ACEF5	LD	HL,($F5CE)
EC17 19		ADD	HL,DE
EC18 44		LD	B,H
EC19 4D		LD	C,L
EC1A CD1EF6	CALL	$F61E
EC1D D1		POP	DE
EC1E 2AB5F5	LD	HL,($F5B5)
EC21 73		LD	(HL),E
EC22 23		INC	HL
EC23 72		LD	(HL),D
EC24 D1		POP	DE
EC25 2AB7F5	LD	HL,($F5B7)
EC28 73		LD	(HL),E
EC29 23		INC	HL
EC2A 72		LD	(HL),D
EC2B C1		POP	BC
EC2C 79		LD	A,C
EC2D 93		SUB	E
EC2E 4F		LD	C,A
EC2F 78		LD	A,B
EC30 9A		SBC	A,D
EC31 47		LD	B,A
EC32 2AD0F5	LD	HL,($F5D0)
EC35 EB		EX	DE,HL
EC36 CD30F6	CALL	$F630
EC39 4D		LD	C,L
EC3A 44		LD	B,H
EC3B C321F6	JP	$F621
EC3E 21C3F5	LD	HL,$F5C3
EC41 4E		LD	C,(HL)
EC42 3AE3F5	LD	A,($F5E3)
EC45 B7		OR	A
EC46 1F		RRA	
EC47 0D		DEC	C
EC48 C245EC	JP	NZ,$EC45
EC4B 47		LD	B,A
EC4C 3E08	LD	A,$08
EC4E 96		SUB	(HL)
EC4F 4F		LD	C,A
EC50 3AE2F5	LD	A,($F5E2)
EC53 0D		DEC	C
EC54 CA5CEC	JP	Z,$EC5C
EC57 B7		OR	A
EC58 17		RLA	
EC59 C353EC	JP	$EC53
EC5C 80		ADD	A,B
EC5D C9		RET	

EC5E 2A43EB	LD	HL,($EB43)
EC61 111000	LD	DE,$0010
EC64 19		ADD	HL,DE
EC65 09		ADD	HL,BC
EC66 3ADDF5	LD	A,($F5DD)
EC69 B7		OR	A
EC6A CA71EC	JP	Z,$EC71
EC6D 6E		LD	L,(HL)
EC6E 2600	LD	H,$00
EC70 C9		RET	

EC71 09		ADD	HL,BC
EC72 5E		LD	E,(HL)
EC73 23		INC	HL
EC74 56		LD	D,(HL)
EC75 EB		EX	DE,HL
EC76 C9		RET	

EC77 CD3EEC	CALL	$EC3E
EC7A 4F		LD	C,A
EC7B 0600	LD	B,$00
EC7D CD5EEC	CALL	$EC5E
EC80 22E5F5	LD	($F5E5),HL
EC83 C9		RET	

EC84 2AE5F5	LD	HL,($F5E5)
EC87 7D		LD	A,L
EC88 B4		OR	H
EC89 C9		RET	

EC8A 3AC3F5	LD	A,($F5C3)
EC8D 2AE5F5	LD	HL,($F5E5)
EC90 29		ADD	HL,HL
EC91 3D		DEC	A
EC92 C290EC	JP	NZ,$EC90
EC95 22E7F5	LD	($F5E7),HL
EC98 3AC4F5	LD	A,($F5C4)
EC9B 4F		LD	C,A
EC9C 3AE3F5	LD	A,($F5E3)
EC9F A1		AND	C
ECA0 B5		OR	L
ECA1 6F		LD	L,A
ECA2 22E5F5	LD	($F5E5),HL
ECA5 C9		RET	

ECA6 2A43EB	LD	HL,($EB43)
ECA9 110C00	LD	DE,$000C
ECAC 19		ADD	HL,DE
ECAD C9		RET	

ECAE 2A43EB	LD	HL,($EB43)
ECB1 110F00	LD	DE,$000F
ECB4 19		ADD	HL,DE
ECB5 EB		EX	DE,HL
ECB6 211100	LD	HL,$0011
ECB9 19		ADD	HL,DE
ECBA C9		RET	

ECBB CDAEEC	CALL	$ECAE
ECBE 7E		LD	A,(HL)
ECBF 32E3F5	LD	($F5E3),A
ECC2 EB		EX	DE,HL
ECC3 7E		LD	A,(HL)
ECC4 32E1F5	LD	($F5E1),A
ECC7 CDA6EC	CALL	$ECA6
ECCA 3AC5F5	LD	A,($F5C5)
ECCD A6		AND	(HL)
ECCE 32E2F5	LD	($F5E2),A
ECD1 C9		RET	

ECD2 CDAEEC	CALL	$ECAE
ECD5 3AD5F5	LD	A,($F5D5)
ECD8 FE02	CP	$02
ECDA C2DEEC	JP	NZ,$ECDE
ECDD AF		XOR	A
ECDE 4F		LD	C,A
ECDF 3AE3F5	LD	A,($F5E3)
ECE2 81		ADD	A,C
ECE3 77		LD	(HL),A
ECE4 EB		EX	DE,HL
ECE5 3AE1F5	LD	A,($F5E1)
ECE8 77		LD	(HL),A
ECE9 C9		RET	

ECEA 0C		INC	C
ECEB 0D		DEC	C
ECEC C8		RET	Z

ECED 7C		LD	A,H
ECEE B7		OR	A
ECEF 1F		RRA	
ECF0 67		LD	H,A
ECF1 7D		LD	A,L
ECF2 1F		RRA	
ECF3 6F		LD	L,A
ECF4 C3EBEC	JP	$ECEB
ECF7 0E80	LD	C,$80
ECF9 2AB9F5	LD	HL,($F5B9)
ECFC AF		XOR	A
ECFD 86		ADD	A,(HL)
ECFE 23		INC	HL
ECFF 0D		DEC	C
ED00 C2FDEC	JP	NZ,$ECFD
ED03 C9		RET	

ED04 0C		INC	C
ED05 0D		DEC	C
ED06 C8		RET	Z

ED07 29		ADD	HL,HL
ED08 C305ED	JP	$ED05
ED0B C5		PUSH	BC
ED0C 3A42EB	LD	A,($EB42)
ED0F 4F		LD	C,A
ED10 210100	LD	HL,$0001
ED13 CD04ED	CALL	$ED04
ED16 C1		POP	BC
ED17 79		LD	A,C
ED18 B5		OR	L
ED19 6F		LD	L,A
ED1A 78		LD	A,B
ED1B B4		OR	H
ED1C 67		LD	H,A
ED1D C9		RET	

ED1E 2AADF5	LD	HL,($F5AD)
ED21 3A42EB	LD	A,($EB42)
ED24 4F		LD	C,A
ED25 CDEAEC	CALL	$ECEA
ED28 7D		LD	A,L
ED29 E601	AND	$01
ED2B C9		RET	

ED2C 21ADF5	LD	HL,$F5AD
ED2F 4E		LD	C,(HL)
ED30 23		INC	HL
ED31 46		LD	B,(HL)
ED32 CD0BED	CALL	$ED0B
ED35 22ADF5	LD	($F5AD),HL
ED38 2AC8F5	LD	HL,($F5C8)
ED3B 23		INC	HL
ED3C EB		EX	DE,HL
ED3D 2AB3F5	LD	HL,($F5B3)
ED40 73		LD	(HL),E
ED41 23		INC	HL
ED42 72		LD	(HL),D
ED43 C9		RET	

ED44 CD5EED	CALL	$ED5E
ED47 110900	LD	DE,$0009
ED4A 19		ADD	HL,DE
ED4B 7E		LD	A,(HL)
ED4C 17		RLA	
ED4D D0		RET	NC

ED4E 210FE8	LD	HL,$E80F
ED51 C34AEB	JP	$EB4A
ED54 CD1EED	CALL	$ED1E
ED57 C8		RET	Z

ED58 210DE8	LD	HL,$E80D
ED5B C34AEB	JP	$EB4A
ED5E 2AB9F5	LD	HL,($F5B9)
ED61 3AE9F5	LD	A,($F5E9)
ED64 85		ADD	A,L
ED65 6F		LD	L,A
ED66 D0		RET	NC

ED67 24		INC	H
ED68 C9		RET	

ED69 2A43EB	LD	HL,($EB43)
ED6C 110E00	LD	DE,$000E
ED6F 19		ADD	HL,DE
ED70 7E		LD	A,(HL)
ED71 C9		RET	

ED72 CD69ED	CALL	$ED69
ED75 3600	LD	(HL),$00
ED77 C9		RET	

ED78 CD69ED	CALL	$ED69
ED7B F680	OR	$80
ED7D 77		LD	(HL),A
ED7E C9		RET	

ED7F 2AEAF5	LD	HL,($F5EA)
ED82 EB		EX	DE,HL
ED83 2AB3F5	LD	HL,($F5B3)
ED86 7B		LD	A,E
ED87 96		SUB	(HL)
ED88 23		INC	HL
ED89 7A		LD	A,D
ED8A 9E		SBC	A,(HL)
ED8B C9		RET	

ED8C CD7FED	CALL	$ED7F
ED8F D8		RET	C

ED90 13		INC	DE
ED91 72		LD	(HL),D
ED92 2B		DEC	HL
ED93 73		LD	(HL),E
ED94 C9		RET	

ED95 7B		LD	A,E
ED96 95		SUB	L
ED97 6F		LD	L,A
ED98 7A		LD	A,D
ED99 9C		SBC	A,H
ED9A 67		LD	H,A
ED9B C9		RET	

ED9C 0EFF	LD	C,$FF
ED9E 2AECF5	LD	HL,($F5EC)
EDA1 EB		EX	DE,HL
EDA2 2ACCF5	LD	HL,($F5CC)
EDA5 CD95ED	CALL	$ED95
EDA8 D0		RET	NC

EDA9 C5		PUSH	BC
EDAA CDF7EC	CALL	$ECF7
EDAD 2ABDF5	LD	HL,($F5BD)
EDB0 EB		EX	DE,HL
EDB1 2AECF5	LD	HL,($F5EC)
EDB4 19		ADD	HL,DE
EDB5 C1		POP	BC
EDB6 0C		INC	C
EDB7 CAC4ED	JP	Z,$EDC4
EDBA BE		CP	(HL)
EDBB C8		RET	Z

EDBC CD7FED	CALL	$ED7F
EDBF D0		RET	NC

EDC0 CD2CED	CALL	$ED2C
EDC3 C9		RET	

EDC4 77		LD	(HL),A
EDC5 C9		RET	

EDC6 CD9CED	CALL	$ED9C
EDC9 CDE0ED	CALL	$EDE0
EDCC 0E01	LD	C,$01
EDCE CDB8EB	CALL	$EBB8
EDD1 C3DAED	JP	$EDDA
EDD4 CDE0ED	CALL	$EDE0
EDD7 CDB2EB	CALL	$EBB2
EDDA 21B1F5	LD	HL,$F5B1
EDDD C3E3ED	JP	$EDE3
EDE0 21B9F5	LD	HL,$F5B9
EDE3 4E		LD	C,(HL)
EDE4 23		INC	HL
EDE5 46		LD	B,(HL)
EDE6 C324F6	JP	$F624
EDE9 2AB9F5	LD	HL,($F5B9)
EDEC EB		EX	DE,HL
EDED 2AB1F5	LD	HL,($F5B1)
EDF0 0E80	LD	C,$80
EDF2 C34FEB	JP	$EB4F
EDF5 21EAF5	LD	HL,$F5EA
EDF8 7E		LD	A,(HL)
EDF9 23		INC	HL
EDFA BE		CP	(HL)
EDFB C0		RET	NZ

EDFC 3C		INC	A
EDFD C9		RET	

EDFE 21FFFF	LD	HL,$FFFF
EE01 22EAF5	LD	($F5EA),HL
EE04 C9		RET	

EE05 2AC8F5	LD	HL,($F5C8)
EE08 EB		EX	DE,HL
EE09 2AEAF5	LD	HL,($F5EA)
EE0C 23		INC	HL
EE0D 22EAF5	LD	($F5EA),HL
EE10 CD95ED	CALL	$ED95
EE13 D219EE	JP	NC,$EE19
EE16 C3FEED	JP	$EDFE
EE19 3AEAF5	LD	A,($F5EA)
EE1C E603	AND	$03
EE1E 0605	LD	B,$05
EE20 87		ADD	A,A
EE21 05		DEC	B
EE22 C220EE	JP	NZ,$EE20
EE25 32E9F5	LD	($F5E9),A
EE28 B7		OR	A
EE29 C0		RET	NZ

EE2A C5		PUSH	BC
EE2B CDC3EB	CALL	$EBC3
EE2E CDD4ED	CALL	$EDD4
EE31 C1		POP	BC
EE32 C39EED	JP	$ED9E
EE35 79		LD	A,C
EE36 E607	AND	$07
EE38 3C		INC	A
EE39 5F		LD	E,A
EE3A 57		LD	D,A
EE3B 79		LD	A,C
EE3C 0F		RRCA	
EE3D 0F		RRCA	
EE3E 0F		RRCA	
EE3F E61F	AND	$1F
EE41 4F		LD	C,A
EE42 78		LD	A,B
EE43 87		ADD	A,A
EE44 87		ADD	A,A
EE45 87		ADD	A,A
EE46 87		ADD	A,A
EE47 87		ADD	A,A
EE48 B1		OR	C
EE49 4F		LD	C,A
EE4A 78		LD	A,B
EE4B 0F		RRCA	
EE4C 0F		RRCA	
EE4D 0F		RRCA	
EE4E E61F	AND	$1F
EE50 47		LD	B,A
EE51 2ABFF5	LD	HL,($F5BF)
EE54 09		ADD	HL,BC
EE55 7E		LD	A,(HL)
EE56 07		RLCA	
EE57 1D		DEC	E
EE58 C256EE	JP	NZ,$EE56
EE5B C9		RET	

EE5C D5		PUSH	DE
EE5D CD35EE	CALL	$EE35
EE60 E6FE	AND	$FE
EE62 C1		POP	BC
EE63 B1		OR	C
EE64 0F		RRCA	
EE65 15		DEC	D
EE66 C264EE	JP	NZ,$EE64
EE69 77		LD	(HL),A
EE6A C9		RET	

EE6B CD5EED	CALL	$ED5E
EE6E 111000	LD	DE,$0010
EE71 19		ADD	HL,DE
EE72 C5		PUSH	BC
EE73 0E11	LD	C,$11
EE75 D1		POP	DE
EE76 0D		DEC	C
EE77 C8		RET	Z

EE78 D5		PUSH	DE
EE79 3ADDF5	LD	A,($F5DD)
EE7C B7		OR	A
EE7D CA88EE	JP	Z,$EE88
EE80 C5		PUSH	BC
EE81 E5		PUSH	HL
EE82 4E		LD	C,(HL)
EE83 0600	LD	B,$00
EE85 C38EEE	JP	$EE8E
EE88 0D		DEC	C
EE89 C5		PUSH	BC
EE8A 4E		LD	C,(HL)
EE8B 23		INC	HL
EE8C 46		LD	B,(HL)
EE8D E5		PUSH	HL
EE8E 79		LD	A,C
EE8F B0		OR	B
EE90 CA9DEE	JP	Z,$EE9D
EE93 2AC6F5	LD	HL,($F5C6)
EE96 7D		LD	A,L
EE97 91		SUB	C
EE98 7C		LD	A,H
EE99 98		SBC	A,B
EE9A D45CEE	CALL	NC,$EE5C
EE9D E1		POP	HL
EE9E 23		INC	HL
EE9F C1		POP	BC
EEA0 C375EE	JP	$EE75
EEA3 2AC6F5	LD	HL,($F5C6)
EEA6 0E03	LD	C,$03
EEA8 CDEAEC	CALL	$ECEA
EEAB 23		INC	HL
EEAC 44		LD	B,H
EEAD 4D		LD	C,L
EEAE 2ABFF5	LD	HL,($F5BF)
EEB1 3600	LD	(HL),$00
EEB3 23		INC	HL
EEB4 0B		DEC	BC
EEB5 78		LD	A,B
EEB6 B1		OR	C
EEB7 C2B1EE	JP	NZ,$EEB1
EEBA 2ACAF5	LD	HL,($F5CA)
EEBD EB		EX	DE,HL
EEBE 2ABFF5	LD	HL,($F5BF)
EEC1 73		LD	(HL),E
EEC2 23		INC	HL
EEC3 72		LD	(HL),D
EEC4 CDA1EB	CALL	$EBA1
EEC7 2AB3F5	LD	HL,($F5B3)
EECA 3603	LD	(HL),$03
EECC 23		INC	HL
EECD 3600	LD	(HL),$00
EECF CDFEED	CALL	$EDFE
EED2 0EFF	LD	C,$FF
EED4 CD05EE	CALL	$EE05
EED7 CDF5ED	CALL	$EDF5
EEDA C8		RET	Z

EEDB CD5EED	CALL	$ED5E
EEDE 3EE5	LD	A,$E5
EEE0 BE		CP	(HL)
EEE1 CAD2EE	JP	Z,$EED2
EEE4 3A41EB	LD	A,($EB41)
EEE7 BE		CP	(HL)
EEE8 C2F6EE	JP	NZ,$EEF6
EEEB 23		INC	HL
EEEC 7E		LD	A,(HL)
EEED D624	SUB	$24
EEEF C2F6EE	JP	NZ,$EEF6
EEF2 3D		DEC	A
EEF3 3245EB	LD	($EB45),A
EEF6 0E01	LD	C,$01
EEF8 CD6BEE	CALL	$EE6B
EEFB CD8CED	CALL	$ED8C
EEFE C3D2EE	JP	$EED2
EF01 3AD4F5	LD	A,($F5D4)
EF04 C301EB	JP	$EB01
EF07 C5		PUSH	BC
EF08 F5		PUSH	AF
EF09 3AC5F5	LD	A,($F5C5)
EF0C 2F		CPL	
EF0D 47		LD	B,A
EF0E 79		LD	A,C
EF0F A0		AND	B
EF10 4F		LD	C,A
EF11 F1		POP	AF
EF12 A0		AND	B
EF13 91		SUB	C
EF14 E61F	AND	$1F
EF16 C1		POP	BC
EF17 C9		RET	

EF18 3EFF	LD	A,$FF
EF1A 32D4F5	LD	($F5D4),A
EF1D 21D8F5	LD	HL,$F5D8
EF20 71		LD	(HL),C
EF21 2A43EB	LD	HL,($EB43)
EF24 22D9F5	LD	($F5D9),HL
EF27 CDFEED	CALL	$EDFE
EF2A CDA1EB	CALL	$EBA1
EF2D 0E00	LD	C,$00
EF2F CD05EE	CALL	$EE05
EF32 CDF5ED	CALL	$EDF5
EF35 CA94EF	JP	Z,$EF94
EF38 2AD9F5	LD	HL,($F5D9)
EF3B EB		EX	DE,HL
EF3C 1A		LD	A,(DE)
EF3D FEE5	CP	$E5
EF3F CA4AEF	JP	Z,$EF4A
EF42 D5		PUSH	DE
EF43 CD7FED	CALL	$ED7F
EF46 D1		POP	DE
EF47 D294EF	JP	NC,$EF94
EF4A CD5EED	CALL	$ED5E
EF4D 3AD8F5	LD	A,($F5D8)
EF50 4F		LD	C,A
EF51 0600	LD	B,$00
EF53 79		LD	A,C
EF54 B7		OR	A
EF55 CA83EF	JP	Z,$EF83
EF58 1A		LD	A,(DE)
EF59 FE3F	CP	$3F
EF5B CA7CEF	JP	Z,$EF7C
EF5E 78		LD	A,B
EF5F FE0D	CP	$0D
EF61 CA7CEF	JP	Z,$EF7C
EF64 FE0C	CP	$0C
EF66 1A		LD	A,(DE)
EF67 CA73EF	JP	Z,$EF73
EF6A 96		SUB	(HL)
EF6B E67F	AND	$7F
EF6D C22DEF	JP	NZ,$EF2D
EF70 C37CEF	JP	$EF7C
EF73 C5		PUSH	BC
EF74 4E		LD	C,(HL)
EF75 CD07EF	CALL	$EF07
EF78 C1		POP	BC
EF79 C22DEF	JP	NZ,$EF2D
EF7C 13		INC	DE
EF7D 23		INC	HL
EF7E 04		INC	B
EF7F 0D		DEC	C
EF80 C353EF	JP	$EF53
EF83 3AEAF5	LD	A,($F5EA)
EF86 E603	AND	$03
EF88 3245EB	LD	($EB45),A
EF8B 21D4F5	LD	HL,$F5D4
EF8E 7E		LD	A,(HL)
EF8F 17		RLA	
EF90 D0		RET	NC

EF91 AF		XOR	A
EF92 77		LD	(HL),A
EF93 C9		RET	

EF94 CDFEED	CALL	$EDFE
EF97 3EFF	LD	A,$FF
EF99 C301EB	JP	$EB01
EF9C CD54ED	CALL	$ED54
EF9F 0E0C	LD	C,$0C
EFA1 CD18EF	CALL	$EF18
EFA4 CDF5ED	CALL	$EDF5
EFA7 C8		RET	Z

EFA8 CD44ED	CALL	$ED44
EFAB CD5EED	CALL	$ED5E
EFAE 36E5	LD	(HL),$E5
EFB0 0E00	LD	C,$00
EFB2 CD6BEE	CALL	$EE6B
EFB5 CDC6ED	CALL	$EDC6
EFB8 CD2DEF	CALL	$EF2D
EFBB C3A4EF	JP	$EFA4
EFBE 50		LD	D,B
EFBF 59		LD	E,C
EFC0 79		LD	A,C
EFC1 B0		OR	B
EFC2 CAD1EF	JP	Z,$EFD1
EFC5 0B		DEC	BC
EFC6 D5		PUSH	DE
EFC7 C5		PUSH	BC
EFC8 CD35EE	CALL	$EE35
EFCB 1F		RRA	
EFCC D2ECEF	JP	NC,$EFEC
EFCF C1		POP	BC
EFD0 D1		POP	DE
EFD1 2AC6F5	LD	HL,($F5C6)
EFD4 7B		LD	A,E
EFD5 95		SUB	L
EFD6 7A		LD	A,D
EFD7 9C		SBC	A,H
EFD8 D2F4EF	JP	NC,$EFF4
EFDB 13		INC	DE
EFDC C5		PUSH	BC
EFDD D5		PUSH	DE
EFDE 42		LD	B,D
EFDF 4B		LD	C,E
EFE0 CD35EE	CALL	$EE35
EFE3 1F		RRA	
EFE4 D2ECEF	JP	NC,$EFEC
EFE7 D1		POP	DE
EFE8 C1		POP	BC
EFE9 C3C0EF	JP	$EFC0
EFEC 17		RLA	
EFED 3C		INC	A
EFEE CD64EE	CALL	$EE64
EFF1 E1		POP	HL
EFF2 D1		POP	DE
EFF3 C9		RET	

EFF4 79		LD	A,C
EFF5 B0		OR	B
EFF6 C2C0EF	JP	NZ,$EFC0
EFF9 210000	LD	HL,$0000
EFFC C9		RET	

EFFD 0E00	LD	C,$00
EFFF 1E20	LD	E,$20
F001 D5		PUSH	DE
F002 0600	LD	B,$00
F004 2A43EB	LD	HL,($EB43)
F007 09		ADD	HL,BC
F008 EB		EX	DE,HL
F009 CD5EED	CALL	$ED5E
F00C C1		POP	BC
F00D CD4FEB	CALL	$EB4F
F010 CDC3EB	CALL	$EBC3
F013 C3C6ED	JP	$EDC6
F016 CD54ED	CALL	$ED54
F019 0E0C	LD	C,$0C
F01B CD18EF	CALL	$EF18
F01E 2A43EB	LD	HL,($EB43)
F021 7E		LD	A,(HL)
F022 111000	LD	DE,$0010
F025 19		ADD	HL,DE
F026 77		LD	(HL),A
F027 CDF5ED	CALL	$EDF5
F02A C8		RET	Z

F02B CD44ED	CALL	$ED44
F02E 0E10	LD	C,$10
F030 1E0C	LD	E,$0C
F032 CD01F0	CALL	$F001
F035 CD2DEF	CALL	$EF2D
F038 C327F0	JP	$F027
F03B 0E0C	LD	C,$0C
F03D CD18EF	CALL	$EF18
F040 CDF5ED	CALL	$EDF5
F043 C8		RET	Z

F044 0E00	LD	C,$00
F046 1E0C	LD	E,$0C
F048 CD01F0	CALL	$F001
F04B CD2DEF	CALL	$EF2D
F04E C340F0	JP	$F040
F051 0E0F	LD	C,$0F
F053 CD18EF	CALL	$EF18
F056 CDF5ED	CALL	$EDF5
F059 C8		RET	Z

F05A CDA6EC	CALL	$ECA6
F05D 7E		LD	A,(HL)
F05E F5		PUSH	AF
F05F E5		PUSH	HL
F060 CD5EED	CALL	$ED5E
F063 EB		EX	DE,HL
F064 2A43EB	LD	HL,($EB43)
F067 0E20	LD	C,$20
F069 D5		PUSH	DE
F06A CD4FEB	CALL	$EB4F
F06D CD78ED	CALL	$ED78
F070 D1		POP	DE
F071 210C00	LD	HL,$000C
F074 19		ADD	HL,DE
F075 4E		LD	C,(HL)
F076 210F00	LD	HL,$000F
F079 19		ADD	HL,DE
F07A 46		LD	B,(HL)
F07B E1		POP	HL
F07C F1		POP	AF
F07D 77		LD	(HL),A
F07E 79		LD	A,C
F07F BE		CP	(HL)
F080 78		LD	A,B
F081 CA8BF0	JP	Z,$F08B
F084 3E00	LD	A,$00
F086 DA8BF0	JP	C,$F08B
F089 3E80	LD	A,$80
F08B 2A43EB	LD	HL,($EB43)
F08E 110F00	LD	DE,$000F
F091 19		ADD	HL,DE
F092 77		LD	(HL),A
F093 C9		RET	

F094 7E		LD	A,(HL)
F095 23		INC	HL
F096 B6		OR	(HL)
F097 2B		DEC	HL
F098 C0		RET	NZ

F099 1A		LD	A,(DE)
F09A 77		LD	(HL),A
F09B 13		INC	DE
F09C 23		INC	HL
F09D 1A		LD	A,(DE)
F09E 77		LD	(HL),A
F09F 1B		DEC	DE
F0A0 2B		DEC	HL
F0A1 C9		RET	

F0A2 AF		XOR	A
F0A3 3245EB	LD	($EB45),A
F0A6 32EAF5	LD	($F5EA),A
F0A9 32EBF5	LD	($F5EB),A
F0AC CD1EED	CALL	$ED1E
F0AF C0		RET	NZ

F0B0 CD69ED	CALL	$ED69
F0B3 E680	AND	$80
F0B5 C0		RET	NZ

F0B6 0E0F	LD	C,$0F
F0B8 CD18EF	CALL	$EF18
F0BB CDF5ED	CALL	$EDF5
F0BE C8		RET	Z

F0BF 011000	LD	BC,$0010
F0C2 CD5EED	CALL	$ED5E
F0C5 09		ADD	HL,BC
F0C6 EB		EX	DE,HL
F0C7 2A43EB	LD	HL,($EB43)
F0CA 09		ADD	HL,BC
F0CB 0E10	LD	C,$10
F0CD 3ADDF5	LD	A,($F5DD)
F0D0 B7		OR	A
F0D1 CAE8F0	JP	Z,$F0E8
F0D4 7E		LD	A,(HL)
F0D5 B7		OR	A
F0D6 1A		LD	A,(DE)
F0D7 C2DBF0	JP	NZ,$F0DB
F0DA 77		LD	(HL),A
F0DB B7		OR	A
F0DC C2E1F0	JP	NZ,$F0E1
F0DF 7E		LD	A,(HL)
F0E0 12		LD	(DE),A
F0E1 BE		CP	(HL)
F0E2 C21FF1	JP	NZ,$F11F
F0E5 C3FDF0	JP	$F0FD
F0E8 CD94F0	CALL	$F094
F0EB EB		EX	DE,HL
F0EC CD94F0	CALL	$F094
F0EF EB		EX	DE,HL
F0F0 1A		LD	A,(DE)
F0F1 BE		CP	(HL)
F0F2 C21FF1	JP	NZ,$F11F
F0F5 13		INC	DE
F0F6 23		INC	HL
F0F7 1A		LD	A,(DE)
F0F8 BE		CP	(HL)
F0F9 C21FF1	JP	NZ,$F11F
F0FC 0D		DEC	C
F0FD 13		INC	DE
F0FE 23		INC	HL
F0FF 0D		DEC	C
F100 C2CDF0	JP	NZ,$F0CD
F103 01ECFF	LD	BC,$FFEC
F106 09		ADD	HL,BC
F107 EB		EX	DE,HL
F108 09		ADD	HL,BC
F109 1A		LD	A,(DE)
F10A BE		CP	(HL)
F10B DA17F1	JP	C,$F117
F10E 77		LD	(HL),A
F10F 010300	LD	BC,$0003
F112 09		ADD	HL,BC
F113 EB		EX	DE,HL
F114 09		ADD	HL,BC
F115 7E		LD	A,(HL)
F116 12		LD	(DE),A
F117 3EFF	LD	A,$FF
F119 32D2F5	LD	($F5D2),A
F11C C310F0	JP	$F010
F11F 2145EB	LD	HL,$EB45
F122 35		DEC	(HL)
F123 C9		RET	

F124 CD54ED	CALL	$ED54
F127 2A43EB	LD	HL,($EB43)
F12A E5		PUSH	HL
F12B 21ACF5	LD	HL,$F5AC
F12E 2243EB	LD	($EB43),HL
F131 0E01	LD	C,$01
F133 CD18EF	CALL	$EF18
F136 CDF5ED	CALL	$EDF5
F139 E1		POP	HL
F13A 2243EB	LD	($EB43),HL
F13D C8		RET	Z

F13E EB		EX	DE,HL
F13F 210F00	LD	HL,$000F
F142 19		ADD	HL,DE
F143 0E11	LD	C,$11
F145 AF		XOR	A
F146 77		LD	(HL),A
F147 23		INC	HL
F148 0D		DEC	C
F149 C246F1	JP	NZ,$F146
F14C 210D00	LD	HL,$000D
F14F 19		ADD	HL,DE
F150 77		LD	(HL),A
F151 CD8CED	CALL	$ED8C
F154 CDFDEF	CALL	$EFFD
F157 C378ED	JP	$ED78
F15A AF		XOR	A
F15B 32D2F5	LD	($F5D2),A
F15E CDA2F0	CALL	$F0A2
F161 CDF5ED	CALL	$EDF5
F164 C8		RET	Z

F165 2A43EB	LD	HL,($EB43)
F168 010C00	LD	BC,$000C
F16B 09		ADD	HL,BC
F16C 7E		LD	A,(HL)
F16D 3C		INC	A
F16E E61F	AND	$1F
F170 77		LD	(HL),A
F171 CA83F1	JP	Z,$F183
F174 47		LD	B,A
F175 3AC5F5	LD	A,($F5C5)
F178 A0		AND	B
F179 21D2F5	LD	HL,$F5D2
F17C A6		AND	(HL)
F17D CA8EF1	JP	Z,$F18E
F180 C3ACF1	JP	$F1AC
F183 010200	LD	BC,$0002
F186 09		ADD	HL,BC
F187 34		INC	(HL)
F188 7E		LD	A,(HL)
F189 E60F	AND	$0F
F18B CAB6F1	JP	Z,$F1B6
F18E 0E0F	LD	C,$0F
F190 CD18EF	CALL	$EF18
F193 CDF5ED	CALL	$EDF5
F196 C2ACF1	JP	NZ,$F1AC
F199 3AD3F5	LD	A,($F5D3)
F19C 3C		INC	A
F19D CAB6F1	JP	Z,$F1B6
F1A0 CD24F1	CALL	$F124
F1A3 CDF5ED	CALL	$EDF5
F1A6 CAB6F1	JP	Z,$F1B6
F1A9 C3AFF1	JP	$F1AF
F1AC CD5AF0	CALL	$F05A
F1AF CDBBEC	CALL	$ECBB
F1B2 AF		XOR	A
F1B3 C301EB	JP	$EB01
F1B6 CD05EB	CALL	$EB05
F1B9 C378ED	JP	$ED78
F1BC 3E01	LD	A,$01
F1BE 32D5F5	LD	($F5D5),A
F1C1 3EFF	LD	A,$FF
F1C3 32D3F5	LD	($F5D3),A
F1C6 CDBBEC	CALL	$ECBB
F1C9 3AE3F5	LD	A,($F5E3)
F1CC 21E1F5	LD	HL,$F5E1
F1CF BE		CP	(HL)
F1D0 DAE6F1	JP	C,$F1E6
F1D3 FE80	CP	$80
F1D5 C2FBF1	JP	NZ,$F1FB
F1D8 CD5AF1	CALL	$F15A
F1DB AF		XOR	A
F1DC 32E3F5	LD	($F5E3),A
F1DF 3A45EB	LD	A,($EB45)
F1E2 B7		OR	A
F1E3 C2FBF1	JP	NZ,$F1FB
F1E6 CD77EC	CALL	$EC77
F1E9 CD84EC	CALL	$EC84
F1EC CAFBF1	JP	Z,$F1FB
F1EF CD8AEC	CALL	$EC8A
F1F2 CDD1EB	CALL	$EBD1
F1F5 CDB2EB	CALL	$EBB2
F1F8 C3D2EC	JP	$ECD2
F1FB C305EB	JP	$EB05
F1FE 3E01	LD	A,$01
F200 32D5F5	LD	($F5D5),A
F203 3E00	LD	A,$00
F205 32D3F5	LD	($F5D3),A
F208 CD54ED	CALL	$ED54
F20B 2A43EB	LD	HL,($EB43)
F20E CD47ED	CALL	$ED47
F211 CDBBEC	CALL	$ECBB
F214 3AE3F5	LD	A,($F5E3)
F217 FE80	CP	$80
F219 D205EB	JP	NC,$EB05
F21C CD77EC	CALL	$EC77
F21F CD84EC	CALL	$EC84
F222 0E00	LD	C,$00
F224 C26EF2	JP	NZ,$F26E
F227 CD3EEC	CALL	$EC3E
F22A 32D7F5	LD	($F5D7),A
F22D 010000	LD	BC,$0000
F230 B7		OR	A
F231 CA3BF2	JP	Z,$F23B
F234 4F		LD	C,A
F235 0B		DEC	BC
F236 CD5EEC	CALL	$EC5E
F239 44		LD	B,H
F23A 4D		LD	C,L
F23B CDBEEF	CALL	$EFBE
F23E 7D		LD	A,L
F23F B4		OR	H
F240 C248F2	JP	NZ,$F248
F243 3E02	LD	A,$02
F245 C301EB	JP	$EB01
F248 22E5F5	LD	($F5E5),HL
F24B EB		EX	DE,HL
F24C 2A43EB	LD	HL,($EB43)
F24F 011000	LD	BC,$0010
F252 09		ADD	HL,BC
F253 3ADDF5	LD	A,($F5DD)
F256 B7		OR	A
F257 3AD7F5	LD	A,($F5D7)
F25A CA64F2	JP	Z,$F264
F25D CD64ED	CALL	$ED64
F260 73		LD	(HL),E
F261 C36CF2	JP	$F26C
F264 4F		LD	C,A
F265 0600	LD	B,$00
F267 09		ADD	HL,BC
F268 09		ADD	HL,BC
F269 73		LD	(HL),E
F26A 23		INC	HL
F26B 72		LD	(HL),D
F26C 0E02	LD	C,$02
F26E 3A45EB	LD	A,($EB45)
F271 B7		OR	A
F272 C0		RET	NZ

F273 C5		PUSH	BC
F274 CD8AEC	CALL	$EC8A
F277 3AD5F5	LD	A,($F5D5)
F27A 3D		DEC	A
F27B 3D		DEC	A
F27C C2BBF2	JP	NZ,$F2BB
F27F C1		POP	BC
F280 C5		PUSH	BC
F281 79		LD	A,C
F282 3D		DEC	A
F283 3D		DEC	A
F284 C2BBF2	JP	NZ,$F2BB
F287 E5		PUSH	HL
F288 2AB9F5	LD	HL,($F5B9)
F28B 57		LD	D,A
F28C 77		LD	(HL),A
F28D 23		INC	HL
F28E 14		INC	D
F28F F28CF2	JP	P,$F28C
F292 CDE0ED	CALL	$EDE0
F295 2AE7F5	LD	HL,($F5E7)
F298 0E02	LD	C,$02
F29A 22E5F5	LD	($F5E5),HL
F29D C5		PUSH	BC
F29E CDD1EB	CALL	$EBD1
F2A1 C1		POP	BC
F2A2 CDB8EB	CALL	$EBB8
F2A5 2AE5F5	LD	HL,($F5E5)
F2A8 0E00	LD	C,$00
F2AA 3AC4F5	LD	A,($F5C4)
F2AD 47		LD	B,A
F2AE A5		AND	L
F2AF B8		CP	B
F2B0 23		INC	HL
F2B1 C29AF2	JP	NZ,$F29A
F2B4 E1		POP	HL
F2B5 22E5F5	LD	($F5E5),HL
F2B8 CDDAED	CALL	$EDDA
F2BB CDD1EB	CALL	$EBD1
F2BE C1		POP	BC
F2BF C5		PUSH	BC
F2C0 CDB8EB	CALL	$EBB8
F2C3 C1		POP	BC
F2C4 3AE3F5	LD	A,($F5E3)
F2C7 21E1F5	LD	HL,$F5E1
F2CA BE		CP	(HL)
F2CB DAD2F2	JP	C,$F2D2
F2CE 77		LD	(HL),A
F2CF 34		INC	(HL)
F2D0 0E02	LD	C,$02
F2D2 0D		DEC	C
F2D3 0D		DEC	C
F2D4 C2DFF2	JP	NZ,$F2DF
F2D7 F5		PUSH	AF
F2D8 CD69ED	CALL	$ED69
F2DB E67F	AND	$7F
F2DD 77		LD	(HL),A
F2DE F1		POP	AF
F2DF FE7F	CP	$7F
F2E1 C200F3	JP	NZ,$F300
F2E4 3AD5F5	LD	A,($F5D5)
F2E7 FE01	CP	$01
F2E9 C200F3	JP	NZ,$F300
F2EC CDD2EC	CALL	$ECD2
F2EF CD5AF1	CALL	$F15A
F2F2 2145EB	LD	HL,$EB45
F2F5 7E		LD	A,(HL)
F2F6 B7		OR	A
F2F7 C2FEF2	JP	NZ,$F2FE
F2FA 3D		DEC	A
F2FB 32E3F5	LD	($F5E3),A
F2FE 3600	LD	(HL),$00
F300 C3D2EC	JP	$ECD2
F303 AF		XOR	A
F304 32D5F5	LD	($F5D5),A
F307 C5		PUSH	BC
F308 2A43EB	LD	HL,($EB43)
F30B EB		EX	DE,HL
F30C 212100	LD	HL,$0021
F30F 19		ADD	HL,DE
F310 7E		LD	A,(HL)
F311 E67F	AND	$7F
F313 F5		PUSH	AF
F314 7E		LD	A,(HL)
F315 17		RLA	
F316 23		INC	HL
F317 7E		LD	A,(HL)
F318 17		RLA	
F319 E61F	AND	$1F
F31B 4F		LD	C,A
F31C 7E		LD	A,(HL)
F31D 1F		RRA	
F31E 1F		RRA	
F31F 1F		RRA	
F320 1F		RRA	
F321 E60F	AND	$0F
F323 47		LD	B,A
F324 F1		POP	AF
F325 23		INC	HL
F326 6E		LD	L,(HL)
F327 2C		INC	L
F328 2D		DEC	L
F329 2E06	LD	L,$06
F32B C28BF3	JP	NZ,$F38B
F32E 212000	LD	HL,$0020
F331 19		ADD	HL,DE
F332 77		LD	(HL),A
F333 210C00	LD	HL,$000C
F336 19		ADD	HL,DE
F337 79		LD	A,C
F338 96		SUB	(HL)
F339 C247F3	JP	NZ,$F347
F33C 210E00	LD	HL,$000E
F33F 19		ADD	HL,DE
F340 78		LD	A,B
F341 96		SUB	(HL)
F342 E67F	AND	$7F
F344 CA7FF3	JP	Z,$F37F
F347 C5		PUSH	BC
F348 D5		PUSH	DE
F349 CDA2F0	CALL	$F0A2
F34C D1		POP	DE
F34D C1		POP	BC
F34E 2E03	LD	L,$03
F350 3A45EB	LD	A,($EB45)
F353 3C		INC	A
F354 CA84F3	JP	Z,$F384
F357 210C00	LD	HL,$000C
F35A 19		ADD	HL,DE
F35B 71		LD	(HL),C
F35C 210E00	LD	HL,$000E
F35F 19		ADD	HL,DE
F360 70		LD	(HL),B
F361 CD51F0	CALL	$F051
F364 3A45EB	LD	A,($EB45)
F367 3C		INC	A
F368 C27FF3	JP	NZ,$F37F
F36B C1		POP	BC
F36C C5		PUSH	BC
F36D 2E04	LD	L,$04
F36F 0C		INC	C
F370 CA84F3	JP	Z,$F384
F373 CD24F1	CALL	$F124
F376 2E05	LD	L,$05
F378 3A45EB	LD	A,($EB45)
F37B 3C		INC	A
F37C CA84F3	JP	Z,$F384
F37F C1		POP	BC
F380 AF		XOR	A
F381 C301EB	JP	$EB01
F384 E5		PUSH	HL
F385 CD69ED	CALL	$ED69
F388 36C0	LD	(HL),$C0
F38A E1		POP	HL
F38B C1		POP	BC
F38C 7D		LD	A,L
F38D 3245EB	LD	($EB45),A
F390 C378ED	JP	$ED78
F393 0EFF	LD	C,$FF
F395 CD03F3	CALL	$F303
F398 CCC1F1	CALL	Z,$F1C1
F39B C9		RET	

F39C 0E00	LD	C,$00
F39E CD03F3	CALL	$F303
F3A1 CC03F2	CALL	Z,$F203
F3A4 C9		RET	

F3A5 EB		EX	DE,HL
F3A6 19		ADD	HL,DE
F3A7 4E		LD	C,(HL)
F3A8 0600	LD	B,$00
F3AA 210C00	LD	HL,$000C
F3AD 19		ADD	HL,DE
F3AE 7E		LD	A,(HL)
F3AF 0F		RRCA	
F3B0 E680	AND	$80
F3B2 81		ADD	A,C
F3B3 4F		LD	C,A
F3B4 3E00	LD	A,$00
F3B6 88		ADC	A,B
F3B7 47		LD	B,A
F3B8 7E		LD	A,(HL)
F3B9 0F		RRCA	
F3BA E60F	AND	$0F
F3BC 80		ADD	A,B
F3BD 47		LD	B,A
F3BE 210E00	LD	HL,$000E
F3C1 19		ADD	HL,DE
F3C2 7E		LD	A,(HL)
F3C3 87		ADD	A,A
F3C4 87		ADD	A,A
F3C5 87		ADD	A,A
F3C6 87		ADD	A,A
F3C7 F5		PUSH	AF
F3C8 80		ADD	A,B
F3C9 47		LD	B,A
F3CA F5		PUSH	AF
F3CB E1		POP	HL
F3CC 7D		LD	A,L
F3CD E1		POP	HL
F3CE B5		OR	L
F3CF E601	AND	$01
F3D1 C9		RET	

F3D2 0E0C	LD	C,$0C
F3D4 CD18EF	CALL	$EF18
F3D7 2A43EB	LD	HL,($EB43)
F3DA 112100	LD	DE,$0021
F3DD 19		ADD	HL,DE
F3DE E5		PUSH	HL
F3DF 72		LD	(HL),D
F3E0 23		INC	HL
F3E1 72		LD	(HL),D
F3E2 23		INC	HL
F3E3 72		LD	(HL),D
F3E4 CDF5ED	CALL	$EDF5
F3E7 CA0CF4	JP	Z,$F40C
F3EA CD5EED	CALL	$ED5E
F3ED 110F00	LD	DE,$000F
F3F0 CDA5F3	CALL	$F3A5
F3F3 E1		POP	HL
F3F4 E5		PUSH	HL
F3F5 5F		LD	E,A
F3F6 79		LD	A,C
F3F7 96		SUB	(HL)
F3F8 23		INC	HL
F3F9 78		LD	A,B
F3FA 9E		SBC	A,(HL)
F3FB 23		INC	HL
F3FC 7B		LD	A,E
F3FD 9E		SBC	A,(HL)
F3FE DA06F4	JP	C,$F406
F401 73		LD	(HL),E
F402 2B		DEC	HL
F403 70		LD	(HL),B
F404 2B		DEC	HL
F405 71		LD	(HL),C
F406 CD2DEF	CALL	$EF2D
F409 C3E4F3	JP	$F3E4
F40C E1		POP	HL
F40D C9		RET	

F40E 2A43EB	LD	HL,($EB43)
F411 112000	LD	DE,$0020
F414 CDA5F3	CALL	$F3A5
F417 212100	LD	HL,$0021
F41A 19		ADD	HL,DE
F41B 71		LD	(HL),C
F41C 23		INC	HL
F41D 70		LD	(HL),B
F41E 23		INC	HL
F41F 77		LD	(HL),A
F420 C9		RET	

F421 2AAFF5	LD	HL,($F5AF)
F424 3A42EB	LD	A,($EB42)
F427 4F		LD	C,A
F428 CDEAEC	CALL	$ECEA
F42B E5		PUSH	HL
F42C EB		EX	DE,HL
F42D CD59EB	CALL	$EB59
F430 E1		POP	HL
F431 CC47EB	CALL	Z,$EB47
F434 7D		LD	A,L
F435 1F		RRA	
F436 D8		RET	C

F437 2AAFF5	LD	HL,($F5AF)
F43A 4D		LD	C,L
F43B 44		LD	B,H
F43C CD0BED	CALL	$ED0B
F43F 22AFF5	LD	($F5AF),HL
F442 C3A3EE	JP	$EEA3
F445 3AD6F5	LD	A,($F5D6)
F448 2142EB	LD	HL,$EB42
F44B BE		CP	(HL)
F44C C8		RET	Z

F44D 77		LD	(HL),A
F44E C321F4	JP	$F421
F451 3EFF	LD	A,$FF
F453 32DEF5	LD	($F5DE),A
F456 2A43EB	LD	HL,($EB43)
F459 7E		LD	A,(HL)
F45A E61F	AND	$1F
F45C 3D		DEC	A
F45D 32D6F5	LD	($F5D6),A
F460 FE1E	CP	$1E
F462 D275F4	JP	NC,$F475
F465 3A42EB	LD	A,($EB42)
F468 32DFF5	LD	($F5DF),A
F46B 7E		LD	A,(HL)
F46C 32E0F5	LD	($F5E0),A
F46F E6E0	AND	$E0
F471 77		LD	(HL),A
F472 CD45F4	CALL	$F445
F475 3A41EB	LD	A,($EB41)
F478 2A43EB	LD	HL,($EB43)
F47B B6		OR	(HL)
F47C 77		LD	(HL),A
F47D C9		RET	

F47E 3E22	LD	A,$22
F480 C301EB	JP	$EB01
F483 210000	LD	HL,$0000
F486 22ADF5	LD	($F5AD),HL
F489 22AFF5	LD	($F5AF),HL
F48C AF		XOR	A
F48D 3242EB	LD	($EB42),A
F490 218000	LD	HL,$0080
F493 22B1F5	LD	($F5B1),HL
F496 CDDAED	CALL	$EDDA
F499 C321F4	JP	$F421
F49C CD72ED	CALL	$ED72
F49F CD51F4	CALL	$F451
F4A2 C351F0	JP	$F051
F4A5 CD51F4	CALL	$F451
F4A8 C3A2F0	JP	$F0A2
F4AB 0E00	LD	C,$00
F4AD EB		EX	DE,HL
F4AE 7E		LD	A,(HL)
F4AF FE3F	CP	$3F
F4B1 CAC2F4	JP	Z,$F4C2
F4B4 CDA6EC	CALL	$ECA6
F4B7 7E		LD	A,(HL)
F4B8 FE3F	CP	$3F
F4BA C472ED	CALL	NZ,$ED72
F4BD CD51F4	CALL	$F451
F4C0 0E0F	LD	C,$0F
F4C2 CD18EF	CALL	$EF18
F4C5 C3E9ED	JP	$EDE9
F4C8 2AD9F5	LD	HL,($F5D9)
F4CB 2243EB	LD	($EB43),HL
F4CE CD51F4	CALL	$F451
F4D1 CD2DEF	CALL	$EF2D
F4D4 C3E9ED	JP	$EDE9
F4D7 CD51F4	CALL	$F451
F4DA CD9CEF	CALL	$EF9C
F4DD C301EF	JP	$EF01
F4E0 CD51F4	CALL	$F451
F4E3 C3BCF1	JP	$F1BC
F4E6 CD51F4	CALL	$F451
F4E9 C3FEF1	JP	$F1FE
F4EC CD72ED	CALL	$ED72
F4EF CD51F4	CALL	$F451
F4F2 C324F1	JP	$F124
F4F5 CD51F4	CALL	$F451
F4F8 CD16F0	CALL	$F016
F4FB C301EF	JP	$EF01
F4FE 2AAFF5	LD	HL,($F5AF)
F501 C329F5	JP	$F529
F504 3A42EB	LD	A,($EB42)
F507 C301EB	JP	$EB01
F50A EB		EX	DE,HL
F50B 22B1F5	LD	($F5B1),HL
F50E C3DAED	JP	$EDDA
F511 2ABFF5	LD	HL,($F5BF)
F514 C329F5	JP	$F529
F517 2AADF5	LD	HL,($F5AD)
F51A C329F5	JP	$F529
F51D CD51F4	CALL	$F451
F520 CD3BF0	CALL	$F03B
F523 C301EF	JP	$EF01
F526 2ABBF5	LD	HL,($F5BB)
F529 2245EB	LD	($EB45),HL
F52C C9		RET	

F52D 3AD6F5	LD	A,($F5D6)
F530 FEFF	CP	$FF
F532 C23BF5	JP	NZ,$F53B
F535 3A41EB	LD	A,($EB41)
F538 C301EB	JP	$EB01
F53B E61F	AND	$1F
F53D 3241EB	LD	($EB41),A
F540 C9		RET	

F541 CD51F4	CALL	$F451
F544 C393F3	JP	$F393
F547 CD51F4	CALL	$F451
F54A C39CF3	JP	$F39C
F54D CD51F4	CALL	$F451
F550 C3D2F3	JP	$F3D2
F553 2A43EB	LD	HL,($EB43)
F556 7D		LD	A,L
F557 2F		CPL	
F558 5F		LD	E,A
F559 7C		LD	A,H
F55A 2F		CPL	
F55B 2AAFF5	LD	HL,($F5AF)
F55E A4		AND	H
F55F 57		LD	D,A
F560 7D		LD	A,L
F561 A3		AND	E
F562 5F		LD	E,A
F563 2AADF5	LD	HL,($F5AD)
F566 EB		EX	DE,HL
F567 22AFF5	LD	($F5AF),HL
F56A 7D		LD	A,L
F56B A3		AND	E
F56C 6F		LD	L,A
F56D 7C		LD	A,H
F56E A2		AND	D
F56F 67		LD	H,A
F570 22ADF5	LD	($F5AD),HL
F573 C9		RET	

F574 3ADEF5	LD	A,($F5DE)
F577 B7		OR	A
F578 CA91F5	JP	Z,$F591
F57B 2A43EB	LD	HL,($EB43)
F57E 3600	LD	(HL),$00
F580 3AE0F5	LD	A,($F5E0)
F583 B7		OR	A
F584 CA91F5	JP	Z,$F591
F587 77		LD	(HL),A
F588 3ADFF5	LD	A,($F5DF)
F58B 32D6F5	LD	($F5D6),A
F58E CD45F4	CALL	$F445
F591 2A0FEB	LD	HL,($EB0F)
F594 F9		LD	SP,HL
F595 2A45EB	LD	HL,($EB45)
F598 7D		LD	A,L
F599 44		LD	B,H
F59A C9		RET	

F59B CD51F4	CALL	$F451
F59E 3E02	LD	A,$02
F5A0 32D5F5	LD	($F5D5),A
F5A3 0E00	LD	C,$00
F5A5 CD07F3	CALL	$F307
F5A8 CC03F2	CALL	Z,$F203
F5AB C9		RET	

F5AC E5		DEFB	$E5
F5AD 00		DEFB	$00
F5AE 00		DEFB	$00
F5AF 00		DEFB	$00
F5B0 00		DEFB	$00
F5B1 80		DEFB	$80
F5B2 00		DEFB	$00
F5B3 00		DEFB	$00
F5B4 00		DEFB	$00
F5B5 00		DEFB	$00
F5B6 00		DEFB	$00
F5B7 00		DEFB	$00
F5B8 00		DEFB	$00
F5B9 00		DEFB	$00
F5BA 00		DEFB	$00
F5BB 00		DEFB	$00
F5BC 00		DEFB	$00
F5BD 00		DEFB	$00
F5BE 00		DEFB	$00
F5BF 00		DEFB	$00
F5C0 00		DEFB	$00
F5C1 00		DEFB	$00
F5C2 00		DEFB	$00
F5C3 00		DEFB	$00
F5C4 00		DEFB	$00
F5C5 00		DEFB	$00
F5C6 00		DEFB	$00
F5C7 00		DEFB	$00
F5C8 00		DEFB	$00
F5C9 00		DEFB	$00
F5CA 00		DEFB	$00
F5CB 00		DEFB	$00
F5CC 00		DEFB	$00
F5CD 00		DEFB	$00
F5CE 00		DEFB	$00
F5CF 00		DEFB	$00
F5D0 00		DEFB	$00
F5D1 00		DEFB	$00
F5D2 00		DEFB	$00
F5D3 00		DEFB	$00
F5D4 00		DEFB	$00
F5D5 00		DEFB	$00
F5D6 00		DEFB	$00
F5D7 00		DEFB	$00
F5D8 00		DEFB	$00
F5D9 00		DEFB	$00
F5DA 00		DEFB	$00
F5DB 00		DEFB	$00
F5DC 00		DEFB	$00
F5DD 00		DEFB	$00
F5DE 00		DEFB	$00
F5DF 00		DEFB	$00
F5E0 00		DEFB	$00
F5E1 00		DEFB	$00
F5E2 00		DEFB	$00
F5E3 00		DEFB	$00
F5E4 00		DEFB	$00
F5E5 00		DEFB	$00
F5E6 00		DEFB	$00
F5E7 00		DEFB	$00
F5E8 00		DEFB	$00
F5E9 00		DEFB	$00
F5EA 00		DEFB	$00
F5EB 00		DEFB	$00
F5EC 00		DEFB	$00
F5ED 00		DEFB	$00
F5EE 00		DEFB	$00
F5EF 00		DEFB	$00
F5F0 08		DEFB	$08
F5F1 21		DEFB	$21
F5F2 C5		DEFB	$C5
F5F3 62		DEFB	$62
F5F4 3A		DEFB	$3A
F5F5 40		DEFB	$40
F5F6 F6		DEFB	$F6
F5F7 CB		DEFB	$CB
F5F8 77		DEFB	$77
F5F9 CB		DEFB	$CB
F5FA F7		DEFB	$F7
F5FB F3		DEFB	$F3
F5FC D3		DEFB	$D3
F5FD FE		DEFB	$FE
F5FE E9		DEFB	$E9
F5FF F7		DEFB	$F7